package com.lfnyxy.dao;



import com.lfnyxy.dto.DropVo;
import com.lfnyxy.entity.CityRefEntity;
import com.lfnyxy.query.CityRefQuery;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface CityRefDao {
    int CreateItem(CityRefEntity entity);

    int UpdateItem(CityRefEntity entity);

    List<CityRefEntity> QueryPageList(CityRefQuery query);

    List<CityRefEntity> QueryAll();

    List<DropVo> QueryDrop(CityRefQuery query);

    int QueryPageListCount(CityRefQuery query);

    int CheckIsExist(CityRefEntity entity);

    CityRefEntity QueryItem(int Id);

    int DeleteItem(int Id);
}